package com.shyroke.daydayzhuandao.respository;

import com.shyroke.daydayzhuanapi.entity.SearchLogEntity;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface SearchLogRepository extends BaseRepository<SearchLogEntity,Integer>{
    List<SearchLogEntity> findByIpAndWordAndCreateTimeAfterAndCreateTimeBefore(String ip, String key, Date begin, Date end);
}
